package com.athuahua.spzx.annotation;

import com.athuahua.spzx.enums.OperatorType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: huahua
 * @Date: 2024/8/6 0006
 * @Time: 19:16
 * @Description:
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface AutoLog {
    public String title();
    public OperatorType operatorType() default OperatorType.MANAGE;
    public int businessType(); //业务类型 0其他 1新增 2修改 3删除
    public boolean isSaveRequestData() default true; //是否保存请求参数
    public boolean isSaveResponseData() default true; //是否保存响应参数

}
